package classesMiolo;

import java.util.HashMap;

public class MapasHistEnferm {
    private HashMap<String, Character> sonoRep;
    private HashMap<String, Character> dieta;
    private HashMap<String, Character> demandaAutoCuidado;
    private HashMap<String, Character> higieneCorp;
    private HashMap<String, Character> higieneOral;
    private HashMap<String, Character> movimentacao;
    private HashMap<String, Character> nivelConsciencia;
    private HashMap<String, Character> estadoMental;
    private HashMap<String, Character> pupilas;
    private HashMap<String, Character> interSocial;
    private HashMap<String, Character> discurso;
    private HashMap<String, Character> estadoNutricional;
    private HashMap<String, Character> sistResp;
    private HashMap<String, Character> ativCard;
    private static MapasHistEnferm instance = null;
    
    private MapasHistEnferm(){
        initAtivCardMap();
        initDemandaAutoCuidadoMap();
        initDietaMap();
        initDiscursoMap();
        initEstadoMentalMap();
        initEstadoNutMap();
        initInterSocialMap();
        initHigieneCorpMap();
        initHigieneOralMap();
        initMovimentacaoMap();
        initNivelConscMap();
        initPupilasMap();
        initSistResp();
        initSonoRepMap();
    }
    
    public static MapasHistEnferm getInstance(){
        if(instance == null) instance = new MapasHistEnferm();
        return instance;
    }

    public HashMap<String, Character> getSonoRep() {
        return sonoRep;
    }

    public HashMap<String, Character> getDieta() {
        return dieta;
    }

    public HashMap<String, Character> getDemandaAutoCuidado() {
        return demandaAutoCuidado;
    }

    public HashMap<String, Character> getHigieneCorp() {
        return higieneCorp;
    }

    public HashMap<String, Character> getHigieneOral() {
        return higieneOral;
    }

    public HashMap<String, Character> getMovimentacao() {
        return movimentacao;
    }

    public HashMap<String, Character> getNivelConsciencia() {
        return nivelConsciencia;
    }

    public HashMap<String, Character> getEstadoMental() {
        return estadoMental;
    }

    public HashMap<String, Character> getPupilas() {
        return pupilas;
    }

    public HashMap<String, Character> getInterSocial() {
        return interSocial;
    }

    public HashMap<String, Character> getDiscurso() {
        return discurso;
    }

    public HashMap<String, Character> getEstadoNutricional() {
        return estadoNutricional;
    }

    public HashMap<String, Character> getSistResp() {
        return sistResp;
    }

    public HashMap<String, Character> getAtivCard() {
        return ativCard;
    }   
    
    private void initSonoRepMap(){
        sonoRep = new HashMap<>();
        sonoRep.put("Satisfatório", new Character('a'));
        sonoRep.put("Prejudicado", new Character('b'));
        sonoRep.put("Insônia", new Character('c'));
    }
    
    private void initDietaMap(){
        dieta = new HashMap<>();
        dieta.put("Preservada", new Character('a'));
        dieta.put("Prejudicada", new Character('b'));
        dieta.put("Ajuda para alimentação", new Character('c'));
        dieta.put("Restrição Alimentar", new Character('d'));
    }
    
    private void initDemandaAutoCuidadoMap(){
        demandaAutoCuidado = new HashMap<>();
        demandaAutoCuidado.put("Dependente", new Character('a'));
        demandaAutoCuidado.put("Independente", new Character('b'));
    }
    
    private void initHigieneCorpMap(){
        higieneCorp = new HashMap<>();
        higieneCorp.put("Preservada", new Character('a'));
        higieneCorp.put("Prejudicada", new Character('b'));
    }
    
    private void initHigieneOralMap(){
        higieneOral = new HashMap<>();
        higieneOral.put("Preservada", new Character('a'));
        higieneOral.put("Prejudicada", new Character('b'));
    }
    
    private void initMovimentacaoMap(){
        movimentacao = new HashMap<>();
        movimentacao.put("Deambula", new Character('a'));
        movimentacao.put("Não Deambula", new Character('b'));
        movimentacao.put("Contido no Leito", new Character('c'));
    }
    
    private void initNivelConscMap(){
        nivelConsciencia = new HashMap<>();
        nivelConsciencia.put("Consciente", new Character('a'));
        nivelConsciencia.put("Obnubilada",new Character('b'));
    }
    
    private void initEstadoMentalMap(){
        estadoMental = new HashMap<>();
        estadoMental.put("Orientado", new Character('a'));
        estadoMental.put("Desorientado", new Character('b'));
        estadoMental.put("Sonolento", new Character('c'));
        estadoMental.put("Calmo", new Character('d'));
        estadoMental.put("Agitado", new Character('e'));
        estadoMental.put("Ansioso", new Character('f'));
        estadoMental.put("Agressivo", new Character('g'));
    }
    
    private void initPupilasMap(){
        pupilas = new HashMap<>();
        pupilas.put("Isocóricas", new Character('a'));
        pupilas.put("Anisocóricas", new Character('b'));
        pupilas.put("Midríase", new Character('c'));
        pupilas.put("Miose", new Character('d'));
        pupilas.put("Média Fixa", new Character('e'));
        pupilas.put("Fotoreação", new Character('f'));
    }
    
    private void initInterSocialMap(){
        interSocial = new HashMap<>();
        interSocial.put("Comunicativo", new Character('a'));
        interSocial.put("Pouco Comunicativo", new Character('b'));
        interSocial.put(("Apático"), new Character('c'));
    }
    
    private void initDiscursoMap(){
        discurso = new HashMap<>();
        discurso.put("Conexo", new Character('a'));
        discurso.put("Desconexo", new Character('b'));
        discurso.put("Contínuo", new Character('c'));
    }
    
    private void initEstadoNutMap(){
        estadoNutricional = new HashMap<>();
        estadoNutricional.put("Normal", new Character('a'));
        estadoNutricional.put("Obeso", new Character('b'));
        estadoNutricional.put("Emagrecido", new Character('c'));
        estadoNutricional.put("Caquético", new Character('d'));
        estadoNutricional.put("Desnutrido", new Character('e'));
        estadoNutricional.put("Desidratado", new Character('f'));
    }
    
    private void initSistResp(){
        sistResp = new HashMap<>();
        sistResp.put("Eupnéico", new Character('a'));
        sistResp.put("Bradipnéico", new Character('b'));
        sistResp.put("Caquético", new Character('c'));
        sistResp.put("Dispnéico", new Character('d'));
    }
    
    private void initAtivCardMap(){
        ativCard = new HashMap<>();
        ativCard.put("Regular", new Character('a'));
        ativCard.put("Irregular", new Character('b'));
    }
}
